import { DataType } from './interface'
import { UserInfo } from '@/util/interface'

// 仓库的初始值
export const initialState: DataType = {
  loading: false,
  user_info: {} as UserInfo,
  menu: [],
  // 学生列表
  student_list_data: {
    list: [],
    count: 0,
    current: 1,
    search_param: {
      name: '',
      phone: ''
    }
  },
  // 查询学生管理的编辑按钮的显示
  is_show_student_edit: false,
  student_info: {} as UserInfo,
  // 管理员列表
  admin_list_data: {
    search_param: {
      name: '',
      phone: ''
    },
    list: [],
    count: 0
  }
}
